#ifndef FILTERDIALOG_H
#define FILTERDIALOG_H

#include <QtGui>
#include <QtSql>

#include "schema.h"
#include "textedit.h"
#include "ui_filterdialog.h"

class FilterDialog: public QDialog, private Ui::FilterDialog
{
Q_OBJECT

public:

FilterDialog( QString filter,
              QMap<QString, QStringList> albums_attrs,
              QMap<int,int> asc_indicies,
              QMap<int,int> desc_indicies);
~FilterDialog();
QString return_filter();

public slots:

void set_basic(bool t);

private:

QMap<QString, QStringList> opened_album_attrs;
TextEdit * expTextEdit;
};

#endif // FILTERDIALOG_H
